Skip to content

Implement ResourceManager#94

Merged
mihaid11 merged 2 commits intodevfrom
mihai/resource_manager
Dec 18, 2025
Merged

Implement ResourceManager#94
mihaid11 merged 2 commits intodevfrom
mihai/resource_manager

Conversation

@mihaid11
Copy link
Owner

Title

Implement ResourceManager

Description

What changes did you make?

  • Added a class to store every texture in the game.
  • Saved a structure index in order to know in which structure the player was at the time of exit

Why are these changes needed?
Entity and zone background textures were being created at every initialization which resulted in big waiting time at zone loading.

Type of Change

  • Bug fix
  • New feature
  • Code Refactor
  • Documentation update

Checklist

  • Self-Review: I checked my own changes for mistakes.
  • Docs: Updated documentation if required.
  • Zero Warnings: Changes don’t introduce new compiler/linter warnings.

Signed-off-by: Mihai Dumitrescu <mihairazvand1@gmail.com>
Signed-off-by: Mihai Dumitrescu <mihairazvand1@gmail.com>
@mihaid11 mihaid11 merged commit 51fd3fe into dev Dec 18, 2025
6 checks passed
@mihaid11 mihaid11 deleted the mihai/resource_manager branch December 18, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant